Linux Shell Script

How to create and print the value of variables in Linux Shell Script | Linus Shell Script

How to create and print the value of variables in Linux Shell Script | Linus Shell Script

How to create and print the value of variables in Linux Shell Script | Linus Shell Script

We will create a shell script program to create two variables and then print the values of variables on the console screen.

#!/bin/bash


country="India"
year=2022

echo "Country name: $country"
echo "Year: $year"
TutorialsLink Curator

This is an official account managed by the team TutorialsLink Community